<!doctype html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>密码帮手——找回密码第一步</title>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>

<link href="/templets/nbbmobi/style/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="templets/style/login.css" rel="stylesheet" type="text/css" />
<script src="templets/js/j.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	$('#ver_code').css('visibility','visible');
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}

function hideVc()
{
	$('#ver_code').css('visibility','hidden');
}


$(document).ready(function(){ 
	$("#vdcode").focus(function(){
	  var leftpos = $("#vdcode").position().left;
	  $('#ver_code').css('left', leftpos+'px');
	  $('#ver_code').css('visibility','visible');
	});
	$("input[type='password']").click(function(){
	  hideVc()
	});
	$("#txtUsername").click(function(){
	  hideVc()
	});
	$("input[type='radio']").focus(function(){
	  hideVc()
	});
	/*
	$("#vdcode").blur(function(){
		  $('#ver_code').css('visibility','hidden');
	});
	*/
})

</script>
<style type="text/css">
<!--
.vermenu{
	background:#FFFFFF none repeat scroll 0 0;
	border:1px solid #EEEEEE;
	position:absolute;
	top: 208px;
}
-->
</style>
</head>
<body>
<div class="container-xl py-3">
  <div class="row">

    <span>
    <script type="text/javascript">
 var now=(new Date()).getHours();
 if(now>0&&now<=6){
document.write("午夜好，");
 }else if(now>6&&now<=11){
 document.write("早上好，");
 }else if(now>11&&now<=14){
 document.write("中午好，");
 }else if(now>14&&now<=18){
 document.write("下午好，");
 }else{
 document.write("晚上好，");
 }
</script>
    <i class="float-left"> 游客&nbsp;</i> 你可以选择&nbsp;</span>
    <ul class="list-inline">
      <li class="list-inline-item"> <a title="网站主页" href="../">网站主页</a> </li>
      <li class="list-inline-item"> <a title="注册" href="../member/index_do.php?fmdo=user&dopost=regnew">注册</a> </li>
      <li class="list-inline-item"> <a title="登录" href="../member/login.php">登录</a> </li>
    </ul>
	</div>
</div>
<div class="container-xl">
<div class="row">
  <div class=""> <a href="./"> <img  style="margin:8px 0 0 25px;"alt="会员中心" src="../member/templets/images/login_logo.gif"/></a></div>
</div>
</div>

<div class="container-xl my-3 bg-white py-3">
<div class="row">
    <h3 class="col-12 mb-3">找回密码第一步</h3>
    <form name='form1' method='POST' action='resetpassword.php'>
      <input type="hidden" name="dopost" value="getpwd">
      <input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
      <ul class="list-unstyled col-12">
        <li>
		<div>用户名：</div>
          <input name="userid" type="text" id="txtUsername" class="form-control" />
        </li>
        <li><div>邮&nbsp;&nbsp;&nbsp;箱：</div>
          <input name="mail" type="text" id="txtPassword" class="form-control" />
        </li>
         <li class="mt-3"> <div>验证码：</div>
          <img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清？点击更换" src="../include/vdimgck.php"/>
           看不清？ <a class="text-info" onclick="changeAuthCode();">点击更换</a>
		   <input id="vdcode" class="form-control login_from3" type="text" style="text-transform: uppercase;" name="vdcode"/>
		   </li>
           
        <li class="mt-3"> <div class="col-12">取回方式：</div>
          <input name="type" type="radio" value="1" checked="checked" />
          通过邮件取回
          <input name="type" type="radio" value="2" />
          通过安全问题取回</li>
        <li><div>&nbsp;</div>
          <button class="button5" id="btnSignCheck" type="submit">下一步</button>
        </li>
      </ul>
    </form>
  </div>

</div>
<script language="javascript" type="text/javascript">
	window.onload=function (){
		setInterval("document.getElementById('time').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
	}
</script>
<div class="container-xl my-3">
  <div class="row">
  <div class="fLeft mL10">Copyright &copy; 2019-<?php echo date("Y")?> <?php echo $cfg_basehost; ?> <?php echo $cfg_webname; ?> 版权所有&nbsp;</div>
  <div class="fRight mR10" id="time"></div>
</div>
</div>
<script language="javascript" type="text/javascript" src="/templets/nbbmobi/js/jquery-3.5.1.slim.min.js" ></script> 
<script language="javascript" type="text/javascript" src="/templets/nbbmobi/js/popper.min.1.16.0.js" ></script> 
<script language="javascript" type="text/javascript" src="/templets/nbbmobi/js/bootstrap.min.js" ></script>
</body>
</html>